/*
 * Copyright (c) 2017年11月08日  by XuanWu Wireless Technology Co., Ltd 
 *             All rights reserved  
 */
package com.zml.sixth.example;

/**
 * @author <a href="mailto:zhaominglin@wxchina.com">minglin.Zhao</a>
 * @Description
 * @Date 2017/11/8
 * @Version 1.0.0
 */
public class LightOnCommand implements Command {
    Light light;
    public LightOnCommand(Light light){
        this.light = light;
    }

    @Override
    public void execute() {
        light.on();
    }
}
